package com.cuif.ioc.customEditor;

import java.util.Date;

import com.cuif.pojo.Address;

public class AddressManage {
	
	private Address address;
	private Date date;
	
	public void printlnAddress(){
		if(address == null){
			System.out.println("not data !!");
			return;
		}
		System.out.println(
				"country is " + address.getCountry() + ", " +
				"province is " + address.getProvince() + ", " +
				"city is " + address.getCity()+ ", " +
				"area is " + address.getArea() + ", " +
				"street is " + address.getStreet() + ". "
				);
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
}
